/*
 * @Author: xiaosihan 
 * @Date: 2024-06-07 22:10:34 
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-01-15 21:06:24
 */

import { EquirectangularReflectionMapping, MeshStandardMaterial } from "three";
import blueskyJPG from "./bluesky.jpg";
import threeLoader from "three-base/threeLoader";


const envMap = threeLoader.getTexture(blueskyJPG).clone();
envMap.mapping = EquirectangularReflectionMapping;

// 金属材质
const metalMaterial = new MeshStandardMaterial({
    color: "#ffd8c2",
    roughness: 0, 
    metalness: 0.66,
    envMap,
    envMapIntensity: 1
});

export default metalMaterial;